package com.gudaichaoren.pipelinevalve.pipeline;

import com.gudaichaoren.pipelinevalve.valve.Valve;

public interface Pipeline {

    void setBasic(Valve basic);

    void addValve(Valve valve);

    /**
     * pipeline的执行方法
     * @param isPass
     */
    void invoke(boolean isPass);
}
